Other Enumerations

The following enumerations are available globally.

  • [Internal] Generic Mock library errors

    • notStubed: Calling method on mock, for which return value was not yet stubbed. DO NOT USE it as stub throw value!

    Declaration

    Swift

    public enum MockError : Error
  • [Internal] Possible Given products. Method can either return or throw an error (in general)

    • return: Return value
    • throw: Thrown error value
    See more

    Declaration

    Swift

    public enum StubProduct